package org.dfl.core.data.connectors;

import org.dfl.core.data.types.TypeContainer;

/**
 * Connector for 2 type containers with simple types
 * @author Piotr Wlodarczyk
 *
 */
public class SimpleTypeConnector extends TypeConnector {
	/**
	 * create a connector
	 * @param source - any type container with a simple type
	 * @param target - any type container with a simple type equal to source type container type 
	 */
	public SimpleTypeConnector(TypeContainer source, TypeContainer target) {
		super(source, target);
	}

	public TypeContainer getTarget() {
		return topTypeContainer2;
	}

	public TypeContainer getSource() {
		return topTypeContainer1;
	}
}

